# @author: uuz
# encoding = utf-8
from ext import db


class ReservationNotice(db.Model):
    __tablename__ = "reservation_notice"
    id = db.Column(db.Integer, nullable=False, primary_key=True, autoincrement=True)
    hotel_id = db.Column(db.Integer, db.ForeignKey("hotel.id"))
    with_pet = db.Column(db.Boolean, nullable=False, default=False)
    outer_guest = db.Column(db.Boolean, nullable=False, default=False)
    check_in_time = db.Column(db.String(6), nullable=False, default="14:00")
    check_out_time = db.Column(db.String(6), nullable=False, default="12:00")
    special = db.Column(db.String(20), nullable=False, default="无")
